package org.bozo.im.service.protocols.jabber;

import java.util.ArrayList;

import org.bozo.im.common.types.ProtocolRequirement;
import org.bozo.im.service.IMSession;
import org.bozo.im.service.IMSessionBuilder;
import org.bozo.im.service.IMSessionConfiguration;

public class JabberSessionBuilder implements IMSessionBuilder {

	private static ArrayList<ProtocolRequirement> mRequirements;

	static {
		mRequirements = new ArrayList<ProtocolRequirement>();
		mRequirements.add(ProtocolRequirement.LOGIN_NAME);
		mRequirements.add(ProtocolRequirement.PASSWORD);
		mRequirements.add(ProtocolRequirement.SERVER);
		mRequirements.add(ProtocolRequirement.PORT);
	}

	public IMSessionConfiguration buildConfiguration(String pLogin, String pPassword, String pServer, int pPort) {
		// TODO Auto-generated method stub
		return null;
	}

	public IMSession buildSession(IMSessionConfiguration pConfiguration) {
		return null;
	}

	public ArrayList<ProtocolRequirement> getRequirements() {
		return mRequirements;
	}

}
